package com.teacherprofile.common.domain;

import ch.qos.logback.core.rolling.helper.IntegerTokenConverter;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.teacherprofile.common.core.domain.BaseEntity;
import lombok.Builder;
import lombok.Data;

import java.util.Date;


/**
 * 用户详情 sys_user_details
 *
 * @author qvtu
 * @date 2025-04-21
 */
@Data
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, verticalAlignment = VerticalAlignmentEnum.CENTER)
@ExcelIgnoreUnannotated
@ColumnWidth(20)
@HeadRowHeight(16)
@HeadFontStyle(fontHeightInPoints = 11)
@TableName("sys_user_details")
public class SysUserDetails extends BaseEntity {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long userId;
    private String idCardNo; // 身份证号
    private String idCardAddress; // 身份证地址
    private String idCardIssuer; // 身份证签发机关
    private Integer age;
    private Integer degree; // 学历
    private Integer maritalStatus; // 婚姻状况
    private String nativePlace; // 籍贯
    private Integer politicalStatus; // 政治面貌
    private String graduatedSchool; // 毕业院校
    private Integer ethnicity; // 民族
    private Date entryTime; // 入职时间
    private String qq; // QQ
    private String wechat; // 微信
    private String emergencyContact; // 紧急联系人
    private String emergencyPhone; // 紧急联系人电话
    private String currentAddress; // 现居住地址
    private String idCardFrontUrl; // 身份证正面
    private String idCardBackUrl; // 身份证反面
    private Date idCardValidityBegin; // 身份证有效期(开始）
    private Date idCardValidityEnd; // 身份证有效期（结束）
    private String userName; // 用户工号
    private String professionalQualificationCertificateUrl;//职业资格证书
    private String teacherQualificationCertificateUrl;// 教师资格证书
    private String titleReviewUrl;//职称评审材料
    private String realName; // 真实姓名
    private Integer employmentType; // 聘用类型
    private Integer major; // 专业
    private Date graduatedTime; // 毕业时间
}
